package com.jzr.medical.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.jzr.medical.common.LayEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="TMenu对象", description="菜单表")
public class TMenu extends LayEntity<Integer> {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_menu";
    public static final String Id_ = "id";
    public static final String ParentId_ = "parent_id";
    public static final String Type_ = "type";
    public static final String Name_ = "name";
    public static final String Url_ = "url";
    public static final String Ext_ = "ext";
    public static final String Icon_ = "icon";
    public static final String Component_ = "component";
    public static final String Sort_ = "sort";
    public static final String Level_ = "level";
    public static final String IsIframe_ = "is_iframe";
    public static final String Version_ = "version";
    public static final String Status_ = "status";
    public static final String Remark_ = "remark";
    public static final String UpdateTime_ = "update_time";
    public static final String UpdateBy_ = "update_by";


    @ApiModelProperty(value = "菜单id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父菜单id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "菜单类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "菜单标签")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "菜单路径")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "扩展名")
    @TableField("ext")
    private String ext;

    @ApiModelProperty(value = "菜单图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty(value = "组件路径")
    @TableField("component")
    private String component;

    @ApiModelProperty(value = "排序号码")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "层次号码")
    @TableField("level")
    private Integer level;

    @ApiModelProperty(value = "是否用iframe显示整个页面")
    @TableField("is_iframe")
    private Integer isIframe;

    @ApiModelProperty(value = "版本号")
    @TableField("version")
    private Float version;

    @ApiModelProperty(value = "状态1=有效，0=无效")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;


}
